package edu.gdkm.service;

import edu.gdkm.sql.pojo.Category;

import java.util.List;

public interface CategoryService {
    void addCategory(Category category);
    void updateCategory(Category category);
    void deleteCategory(int id);
    Category getCategoryById(int id);
    List<Category> getAllCategories();
    // 其他方法...
}